package com.panfeng.xcloud.boss.provider.member.service.impl;

import com.panfeng.xcloud.boss.provider.member.service.ISlidingVerificationService;
import com.panfeng.xcloud.component.ocr.SlidingVerificationMaker;
import com.panfeng.xcloud.component.ocr.model.SlidingVerificationReqDTO;
import com.panfeng.xcloud.component.ocr.model.SlidingVerificationRespDTO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SlidingVerificationServiceImpl implements ISlidingVerificationService {

    @Autowired
    private SlidingVerificationMaker slidingVerificationMaker;

    /**
     * 开始进行阿里云滑动验证服务
     * @param slidingVerificationReqDTO
     * @return
     */
    @Override
    public SlidingVerificationRespDTO slidingVerification(SlidingVerificationReqDTO slidingVerificationReqDTO) {
        return slidingVerificationMaker.slidingVerification(slidingVerificationReqDTO);
    }

}
